<template>
  <el-container style="height: 100%">
    <el-aside width="auto"><CommonAside /></el-aside>
    <el-container>
      <el-header><CommonHeader /></el-header>
      <CommonTab />
      <el-main>
        <router-view />
      </el-main>
    </el-container>
  </el-container>
</template>
<script>
import CommonAside from "@/layout/CommonAside.vue";
import CommonTab from "@/layout/CommonTab.vue";
import CommonHeader from "@/layout/CommonHeader.vue"; //以此种形式也可以的导入其他vue的内容，要在如下做操作
export default {
  components: {
    CommonHeader, //使用其界面的内容可以以<CommonHeader/>写在<template>内部
    CommonAside,
    CommonTab
  }
};
</script>
<style lang="scss">
.el-header {
  background-color: #535353;
}
.el-aside {
  background-color: #d3dce6;
  color: #333;
  text-align: center;
  line-height: 20px;
}

.el-main {
  background-color: #f4f4f4;
  color: #333;
  padding-top: 0;
}
</style>
